﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MarketDataCheck.DataType;
using MarketDataCheck;

namespace RealTimeDataCheck
{
    class Program
    {
        static void Main(string[] args)
        {
            Level2Obj lv2 = new Level2Obj();
            lv2.agg_vol = 10000;
            lv2.Ticker = "400001";
            lv2.sell_px_list = new List<float>();
            lv2.sell_px_list.AddRange(new float[] { 19.6f, 13.8f });
            lv2.Direction = "Bm";
            TickObj tk = new TickObj();
            tk.Direction = "BS";
            tk.Price = 13.6f;
            DataCheckMachine dc = new DataCheckMachine(@"U:\data\level2\config\level2.config.csv");
            bool checkres =dc.Check(lv2);
            bool checkres2 = dc.Check(tk);
        }
    }
}
